<?php

interface IDatabase
{
    public function open($host, $dbname = NULL, $user = NULL, $pwd = NULL);
    public function close();
    public function query($query);
    public function openTransaction();
    public function closeTransaction();
}

?>
